package org.example.learningplanassistant.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 好友关系表
 * </p>
 *
 * @author gcbsh
 * @since 2025-03-25
 */
@Getter
@Setter
@TableName("friendships")
public class Friendships implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 好友关系表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 好友ID
     */
    @TableField("friend_id")
    private Integer friendId;

    /**
     * 好友关系状态
     */
    @TableField("status")
    private String status;
}
